package router

import (
	"github.com/gin-gonic/gin"
	"practice/internal/api/travels"
)

func TravelRouter(router *gin.RouterGroup) {
	travel := router.Group("travels")
	{
		travel.POST("create", travels.CreateTravel)
		travel.POST("list", travels.TravelList)
	}
}
